package com.xtoad.demo.rpc.provider;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * RPC 服务提供者应用
 *
 * @author xtoad
 * @date 2021-10-14
 */
@SpringBootApplication
@EnableDubbo(scanBasePackages = "com.xtoad.demo.rpc.provider.service.*")
public class ProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
    }
}
